//
//  GlobalPath.h
//  youyue
//
//  Created by oceans on 2018/8/13.
//


#import "NSString+rule.h"

#ifndef GlobalPath_h
#define GlobalPath_h

//登录成功通知
#define klogin_notification @"klogin_notification"

//新接口地址
#define kbase_path @"http://api.emhome.cn"

//获取app access token
#define kget_access_token [kbase_path x:@"/oauth2/authorize"]

//分类
#define kget_category [kbase_path x:@"/shop/category"]

//获取短信验证码
#define kget_code [kbase_path x:@"/sms/captcha"]

//密码登录
#define kpassword_login [kbase_path x:@"/passport/login"]

//短信验证码登录/注册
#define kcode_login [kbase_path x:@"/passport/signin"]

//app自动登录
#define kauto_login [kbase_path x:@"/passport/mine"]

#endif /* GlobalPath_h */
